﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.OleDb;
using Csla.Data;
using ZX.DAL;

namespace ZX.Common.Extend
{
    public  class GetConnetion
    {
        public  ConnectionManager<SqlConnection> GetDataConnetion()
        {
            return ConnectionManager<SqlConnection>.GetManager(ConnectionStringNames.OpenExpressApp);
        }

        public  ConnectionManager<OleDbConnection> GetOleDataConnetion()
        {
            return ConnectionManager<OleDbConnection>.GetManager(ConnectionStringNames.OpenExpressApp);
        }
    }
}
